<%= form_for(@bonus, url: update_bonus_admin_company_configurations_path, method: :post) do |f| %>
  <div>
    <span>年奖金池：</span>
    <span><%= check_box_tag :open, "1", !@bonus.new_record? %></span>
    <span>开启</span>
  </div>
  </br>
  <div class ="open_bonus" >
    <span>年奖金百分比：</span>
    <div style="margin-left: 8em;">
      <%= f.number_field :bonus_percent, required: true, style: "width:6em" %>
      <span>%</span>
      <p>每年奖金 = 每年奖金比 x 年超出目标营业额部分</p>
      <p>每年奖金将与年末平均发放于每位员工</p>
    </div>
    <span>奖金领取要求：</span>
    <div style="margin-left: 8em;">
      <span><%= f.check_box :one_month_sale %></span>
      <span>单月业绩 / 课消达标</span>
      <p>单月业务达标方可领取绩效/奖金</p>
      <span><%= f.check_box :total_sale %></span>
      <span>累计业务达标</span>
      <p>当月业务未达标，产生绩效 / 奖金，但不可领取，直至补全未达标业绩方可发放</p>
      <p>补全未达标业绩部分，不算到当月超出目标营业额部分</p>
    </div>
  </div>
  <%= submit_tag "保存" %>
<% end %>
